﻿<AuthorizeView Context="context">
    <Authorized>
        <Logout ImageUrl="images/Argo.png" 
                DisplayName="@context.User.UserName()" 
                UserName="@context.User.UserId()">
            <LinkTemplate>
                <a href="/usercenter"><i class="fa-solid fa-suitcase"></i>个人中心</a>
                @*<a href="#"><i class="fa-solid fa-cog"></i>设置</a>
                <a href="#"><i class="fa-solid fa-bell"></i>通知<span class="badge badge-pill badge-success"></span></a>*@
                <LogoutLink Url="/auth" />
            </LinkTemplate>
        </Logout>
    </Authorized>
    <NotAuthorized>
        Warning: Not authorized to login, please return to login page!
    </NotAuthorized>
</AuthorizeView>
